<!DOCTYPE html>
<html>
    <head>
		<meta charset="UTF-8" />
    </head>

    <body>
    	<form action="${request.contextPath}/login" method="post">
    	    <fieldset style="display: inline-block">
    	    	<legend>登录</legend>

    	    	<label for="account">用户名</label>
    	    	<input id="account" type="text" name="account" />

    	    	<label for="password">密码</label>
    	    	<input id="password" type="password" name="password" />

    	    	<input type="hidden" name="redirectUrl" value="${redirectUrl}" />

    	    	<button type="submit">登录</button>
    	    </fieldset>
    	</form>

        <% if(!isEmpty(errorMessage)) { %>
            <div style="color: red">${errorMessage}</div>
        <% }%>

</body>
</html>
